package me.spring.cloud.common.components.oauth2.basic;

import me.spring.cloud.common.components.oauth2.userdetails.UserInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description: basic
 * @author: luffy
 * @create: 2018-08-30 12:20
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BasicUserInfo implements UserInfo {
    private static final long serialVersionUID = 6888916514938690301L;

    /**
     * 用户id
     */
    private String id;


    /**
     * 用户登录名
     */
    private String username;
}
